package com.spring.serviceimp.user;

import com.hibernate.dao.user.AdminUidDao;
import com.hibernate.pojo.AdminUid;
import com.spring.service.user.AdminUidService;
import com.struts.form.AdminUidForm;
import org.apache.commons.beanutils.BeanUtils;

public class AdminUidServiceImp implements AdminUidService{

	private AdminUidDao adminUidDao=null;
	boolean bool=false;
	public boolean checkAdminUid(AdminUidForm adminuidform)
	{
		AdminUid adminuid=new AdminUid();
		try
		{
			BeanUtils.copyProperties(adminuid, adminuidform);
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
		return adminUidDao.checkAdminUid(adminuid);
	}
	
	public AdminUidDao getAdminUidDao() {
		return adminUidDao;
	}
	public void setAdminUidDao(AdminUidDao adminUidDao) {
		this.adminUidDao = adminUidDao;
	}
}
